package com.hongdee.scm.allocationorder.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Mr. Xu on 2017/5/15.
 * 调拨单明细
 */
@Entity
@Table(name = "t_scm_allocation_order_detail")
public class TScmAllocationOrderDetail extends BaseEntity{
    /**
     * 调拨单id
     */
    @Column(name = "allocation_order_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '调拨单id'")
    private String allocationOrderId;
    /**
     * vin
     */
    @Column(name = "vin", length = 32, columnDefinition = "VARCHAR(32) COMMENT 'vin'")
    private String vin;
    /**
     * 调拨出库次数
     */
    @Column(name = "allocation_out_time", columnDefinition = "INT COMMENT '调拨出库次数'")
    private int allocationOutTime;

    //流水号
    @Column(name = "connectNo", length=255, columnDefinition = " VARCHAR(255) COMMENT '流水号' ")
    private String connectNo;

    public int getAllocationOutTime() {
        return allocationOutTime;
    }

    public void setAllocationOutTime(int allocationOutTime) {
        this.allocationOutTime = allocationOutTime;
    }

    public String getAllocationOrderId() {
        return allocationOrderId;
    }

    public void setAllocationOrderId(String allocationOrderId) {
        this.allocationOrderId = allocationOrderId;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getConnectNo() {
        return connectNo;
    }

    public void setConnectNo(String connectNo) {
        this.connectNo = connectNo;
    }
}
